<template>
    <view class="container">
        <!-- <hx-navbar ref="hxnb" :config="config" id="nav"></hx-navbar> -->
        <micro-temp ref="microTemp" :url="url"></micro-temp>
    </view>
</template>

<script>
import microTemp from "@/pages/micro/temp.vue"
import webViewUrl from "@/pages/micro/webViewUrl.js"
import storage from "@/uni-sub-base/utils/storage.js"
export default {
    components: {
        microTemp,
    },
    data() {
        return {
            config: {
                back: false,
                title: "商城",
                barPlaceholder: false,
                backgroundColor: [1, "#4E7CFF"],
            },
            canReturn: false,
            url: "",
        }
    },
    onLoad(e) {
        let token = storage.getCache("token")
        if (e.url) {
            let url = decodeURIComponent(e.url)
            if (url.indexOf("?") == -1) {
                this.url = url + "?uniToken=" + token
            } else {
                this.url = url + "&uniToken=" + token
            }
        }
    },
    mounted() { },
    onShow() { },
    methods: {},
}
</script>

<style lang="scss"></style>
